package com.terracloud.server.common.data;

import com.terracloud.server.common.data.id.RoleId;
import com.terracloud.server.common.data.id.TenantId;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;
import java.util.Set;

/**
 *
 * @author chenhainan
 * @since 2025/10/20
 */
@Data
public class Role implements HasName, Serializable {

    private RoleId roleId;

    private TenantId tenantId;

    private String name;

    @NotNull
    private Set<String> menus;

}
